package com.java.imauoj.moudel;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.Date;

public class User {

    private int index;
    private int user_id;
    private String username;
    private String password;
    private String nickname;
    private String own_sign;
    private String via;
    private String name;
    private int sex;
    private int school_id;
    private int class_id;
    private String in_date;
    private String last_date;
    private String sgin;
    private String email;
    private String gitee_username;
    private String gitee_token;
    private int role_id;
    private int submit_count;
    private int ac_count;
    private int poi;
    private int exp;

    public User() {
    }

    public User(int index, int user_id, String username, String password, String nickname, String own_sign, String via, String name, int sex, int school_id, int class_id, String in_date, String last_date, String sgin, String email, String gitee_username, String gitee_token, int role_id, int submit_count, int ac_count, int poi, int exp) {
        this.index = index;
        this.user_id = user_id;
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.own_sign = own_sign;
        this.via = via;
        this.name = name;
        this.sex = sex;
        this.school_id = school_id;
        this.class_id = class_id;
        this.in_date = in_date;
        this.last_date = last_date;
        this.sgin = sgin;
        this.email = email;
        this.gitee_username = gitee_username;
        this.gitee_token = gitee_token;
        this.role_id = role_id;
        this.submit_count = submit_count;
        this.ac_count = ac_count;
        this.poi = poi;
        this.exp = exp;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getOwn_sign() {
        return own_sign;
    }

    public void setOwn_sign(String own_sign) {
        this.own_sign = own_sign;
    }

    public String getVia() {
        return via;
    }

    public void setVia(String via) {
        this.via = via;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getSchool_id() {
        return school_id;
    }

    public void setSchool_id(int school_id) {
        this.school_id = school_id;
    }

    public int getClass_id() {
        return class_id;
    }

    public void setClass_id(int class_id) {
        this.class_id = class_id;
    }

    public String getIn_date() {
        return in_date;
    }

    public void setIn_date(String in_date) {
        this.in_date = in_date;
    }

    public String getLast_date() {
        return last_date;
    }

    public void setLast_date(String last_date) {
        this.last_date = last_date;
    }

    public String getSgin() {
        return sgin;
    }

    public void setSgin(String sgin) {
        this.sgin = sgin;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getGitee_username() {
        return gitee_username;
    }

    public void setGitee_username(String gitee_username) {
        this.gitee_username = gitee_username;
    }

    public String getGitee_token() {
        return gitee_token;
    }

    public void setGitee_token(String gitee_token) {
        this.gitee_token = gitee_token;
    }

    public int getRole_id() {
        return role_id;
    }

    public void setRole_id(int role_id) {
        this.role_id = role_id;
    }

    public int getSubmit_count() {
        return submit_count;
    }

    public void setSubmit_count(int submit_count) {
        this.submit_count = submit_count;
    }

    public int getAc_count() {
        return ac_count;
    }

    public void setAc_count(int ac_count) {
        this.ac_count = ac_count;
    }

    public int getPoi() {
        return poi;
    }

    public void setPoi(int poi) {
        this.poi = poi;
    }

    public int getExp() {
        return exp;
    }

    public void setExp(int exp) {
        this.exp = exp;
    }

    @Override
    public String toString() {
        return "User{" +
                "index=" + index +
                ", user_id=" + user_id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", own_sign='" + own_sign + '\'' +
                ", via='" + via + '\'' +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", school_id=" + school_id +
                ", class_id=" + class_id +
                ", in_date='" + in_date + '\'' +
                ", last_date='" + last_date + '\'' +
                ", sgin='" + sgin + '\'' +
                ", email='" + email + '\'' +
                ", gitee_username='" + gitee_username + '\'' +
                ", gitee_token='" + gitee_token + '\'' +
                ", role_id=" + role_id +
                ", submit_count=" + submit_count +
                ", ac_count=" + ac_count +
                ", poi=" + poi +
                ", exp=" + exp +
                '}';
    }
}
